package com.liguang.rcs.admin.db.repository;

import com.liguang.rcs.admin.db.entity.DodmsPermissionEntity;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface DodmsPermissionRepository extends CrudRepository<DodmsPermissionEntity, Long> {

    List<DodmsPermissionEntity> findByRoleIdIn(List<Long> roleIds);
}
